package string_;

import java.util.Scanner;

public class StringTest15 {
    public static void main(String[] args) {
        Scanner input=new Scanner(System.in);
        System.out.println("输入第一个数");
        int a=input.nextInt();
        System.out.println("输入第二个数");
        int b=input.nextInt();
        int c=a&b;
        System.out.println(c);
        int h=a|b;
        System.out.println(h);
        int f=a^b;
        System.out.println(f);
    }
}
